﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JMailT.Data;

namespace JMailT
{
    public interface IMailService
    {
        bool Connect(string host, int port, string uid, string pwd);
        int QueryCount();
        List<LiteItem> Query();

        Mail Get(LiteItem item);

        void Disconnect();

        //MailList QueryCount();
    }
}
